﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.So;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.SaleOutWarehouseDetailVMs
{
    public partial class SaleOutWarehouseDetailBatchVM : BaseBatchVM<SaleOutWarehouseDetail, SaleOutWarehouseDetail_BatchEdit>
    {
        public SaleOutWarehouseDetailBatchVM()
        {
            ListVM = new SaleOutWarehouseDetailListVM();
            LinkedVM = new SaleOutWarehouseDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class SaleOutWarehouseDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._SaleOutWarehouseDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._SaleOutWarehouse")]
        public string SaleOutWarehouseId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._Sale")]
        public string SaleId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._SaleDetail")]
        public string SaleDetailId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._Goods")]
        public string GoodsId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._GoodsName")]
        public string GoodsName { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._GoodsSpec")]
        public string GoodsSpec { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._GoodsUnit")]
        public string GoodsUnit { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._Warehouse")]
        public string WarehouseId { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._SaleOutNumber")]
        public decimal? SaleOutNumber { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._SaleOutWarehouseDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}